package com.ht.sps.util;

/**
 * 常量类，用于存放系统公共常量
 * @author: 薄成文 13-11-12 下午1:23
 * To change this template use File | Settings | File Templates.
 */
public class Const {

    /**
     * 格式化年月日时分秒日期为 yyyy-MM-dd HH:mm:ss
     */
    public static final String DATE_FORMAT14_HORIZONTAL = "yyyy-MM-dd HH:mm:ss";

    /**
     * 格式化年月日时分秒日期为 yyyy/MM/dd HH:mm:ss
     */
    public static final String DATE_FORMAT14_SLANT = "yyyy/MM/dd HH:mm:ss";

    /**
     * yyyy年MM月dd日 HH:mm:ss
     */
    public static final String DATE_FORMAT14_CHINESE = "yyyy年MM月dd日 HH:mm:ss";

    /**
     * 区域控制器远程升级文件路径
     * TODO:TFTP远程升级文件名
     */
    public static final String AREA_CONTROLLER_FILE_PATH = "/WEB-INF/update/area_controler_server";

    /**
     * 门控制器远程升级文件路径
     */
    public static final String DOOR_CONTROLLER_FILE_PATH = "/WEB-INF/update/firmware.bin";



    public static final String DOOR_STATE_LOCK = "locked";
    public static final String DOOR_STATE_OPEN = "opened";
    public static final String DOOR_STATE_CLOSE = "closed";
    public static final String DOOR_STATE_FORCE_OPEN = "forceOpened";
    public static final String DOOR_STATE_FORCE_CLOSE = "forceClosed";
}
